package com.collect.cameroon.zhiAdater.zhiAdminGroupDetail;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.collect.cameroon.R;
import com.collect.cameroon.zhiBean.zhiReceive.ZHIRGroupPerformanceOrderEntity;

public class ZHIGroupOrderDetailAdjuster extends BaseQuickAdapter<ZHIRGroupPerformanceOrderEntity, BaseViewHolder> {

    public ZHIGroupOrderDetailAdjuster() {
        super(R.layout.item_group_order_detail_list, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZHIRGroupPerformanceOrderEntity item) {
        helper.setText(R.id.tv_detail_date, item.getDate());
        helper.setText(R.id.tv_detail_user, item.getLoginName());
        helper.setText(R.id.tv_detail_level, item.getLevenFormat());
        helper.setText(R.id.tv_detail_assign_num, item.getTotalNumFormat() + "");
        helper.setText(R.id.tv_detail_repay_num, item.getTodaySettledNumFormat() + "");
        helper.setText(R.id.tv_detail_repay_rate, item.getSettledRateFormat());
    }
}
